package com.suray.wcs.service.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.wcs.service.pojo.PortManRequest;
import com.suray.wcs.service.system.entity.PlcDB;
import com.suray.wcs.service.system.entity.PortDB;

import java.util.List;

public interface IPortDBService extends IService<PortDB> {

    List<PortDB> selectList(PortDB portDB);

    int updatePortStatus(PortDB portDB);

    int deletePortByIds(Long[] userIds);

    List<PortDB> getByModel(Integer portModel);

    /**
     * 校验plc名称是否重复
     * @param portDB
     * @return
     */
    boolean checkPortCodeUnique(PortDB portDB);
}
